package com.andaying.mail;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan("com.andaying.mail.menber.dao")
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.andaying.mail.menber.feign")
public class MailMenberApplication {

    public static void main(String[] args) {
        SpringApplication.run(MailMenberApplication.class, args);
        System.out.println(" .----------------.  .----------------.  .-----------------. .----------------.  .----------------.  .----------------. \n" +
                "| .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. |\n" +
                "| | ____    ____ | || |  _________   | || | ____  _____  | || |   ______     | || |  _________   | || |  _______     | |\n" +
                "| ||_   \\  /   _|| || | |_   ___  |  | || ||_   \\|_   _| | || |  |_   _ \\    | || | |_   ___  |  | || | |_   __ \\    | |\n" +
                "| |  |   \\/   |  | || |   | |_  \\_|  | || |  |   \\ | |   | || |    | |_) |   | || |   | |_  \\_|  | || |   | |__) |   | |\n" +
                "| |  | |\\  /| |  | || |   |  _|  _   | || |  | |\\ \\| |   | || |    |  __'.   | || |   |  _|  _   | || |   |  __ /    | |\n" +
                "| | _| |_\\/_| |_ | || |  _| |___/ |  | || | _| |_\\   |_  | || |   _| |__) |  | || |  _| |___/ |  | || |  _| |  \\ \\_  | |\n" +
                "| ||_____||_____|| || | |_________|  | || ||_____|\\____| | || |  |_______/   | || | |_________|  | || | |____| |___| | |\n" +
                "| |              | || |              | || |              | || |              | || |              | || |              | |\n" +
                "| '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' |\n" +
                " '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  '----------------' ");
    }

}
